package com.stock.demo.function.home.view;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.stock.demo.R;
import com.stock.demo.framework.ui.fragment.BaseFragment;
import com.stock.demo.util.CommonUtils;

/**
 * Created by xuzhaoyu on 17-7-31.
 */

public class CourseDiscussFragment extends BaseFragment implements CourseDiscussView {

    private View mView;

    @Override
    public View createFragmentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        mView = inflater.inflate(R.layout.fragment_course_discuss, container, false);
        return mView;
    }

    @Override
    public void initView() {
        mView.findViewById(R.id.tv_course_detail_send_message).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                CommonUtils.showToast("点击了发送按钮");
            }
        });
    }

    @Override
    public void initData() {

    }
}
